Release 10.1A: OpenEdge Development:
Programming Interfaces


Progress SAX and WebSpeed

This section describes how to use SAX with WebSpeed applications.

To use SAX with WebSpeed applications:

  1. Check that WEB-CONTEXT’s IS-XML attribute is YES. This indicates that the WebSpeed transaction server recognizes that an XML document was posted to it.
  2. Note: WEB-CONTEXT’s VALIDATE-XML attribute applies only to DOM, not to SAX.

  3. After you create the SAX-reader object, run the SET-INPUT-SOURCE() method as follows:
  4. hSAX-reader:SET-INPUT-SOURCE(“HANDLE”, WEB-CONTEXT). 
    

At this point, proceed with the WebSpeed application as if it were any other Progress SAX application.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095